<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../../CSS/Divlayouts.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 

session_start();
if(@$_SESSION['status'] == " ")
{
@$_SESSION['status']=NULL;
}
?>
<title>MP3 Players</title>
<style type="text/css">
#Pannel {
	position:absolute;
	width:989px;
	height:1021px;
	z-index:3;
	left: 261px;
	top: 269px;
}
#apDiv1 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:4;
	left: 278px;
	top: 260px;
}
#apDiv2 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:5;
	left: 469px;
	top: 260px;
}
#apDiv3 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:6;
	left: 665px;
	top: 260px;
}
#apDiv4 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:7;
	left: 864px;
	top: 260px;
}
#apDiv5 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:8;
	left: 1078px;
	top: 260px;
}
#apDiv6 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:9;
	left: 274px;
	top: 753px;
}
#apDiv7 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:10;
	left: 470px;
	top: 753px;
}
#apDiv8 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:11;
	left: 672px;
	top: 753px;
}
#apDiv9 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:12;
	left: 867px;
	top: 753px;
}
#apDiv10 {
	position:absolute;
	width:166px;
	height:435px;
	z-index:13;
	left: 1077px;
	top: 753px;
}
#cart {
	position:absolute;
	width:108px;
	height:28px;
	z-index:6;
	left: 822px;
	top: -167px;
}
#apDiv11 {
	position:absolute;
	width:137px;
	height:37px;
	z-index:14;
	left: 17px;
	top: 376px;
}
#apDiv12 {
	position:absolute;
	width:131px;
	height:37px;
	z-index:15;
	left: 19px;
	top: 368px;
}
#apDiv13 {
	position:absolute;
	width:127px;
	height:37px;
	z-index:16;
	left: 21px;
	top: 368px;
}
#apDiv14 {
	position:absolute;
	width:121px;
	height:37px;
	z-index:17;
	left: 21px;
	top: 368px;
}
#apDiv15 {
	position:absolute;
	width:130px;
	height:37px;
	z-index:18;
	left: 18px;
	top: 368px;
}
#apDiv16 {
	position:absolute;
	width:121px;
	height:37px;
	z-index:19;
	left: 28px;
	top: 368px;
}
#apDiv17 {
	position:absolute;
	width:96px;
	height:39px;
	z-index:20;
	left: 505px;
	top: 819px;
}
#apDiv18 {
	position:absolute;
	width:132px;
	height:41px;
	z-index:21;
	left: 20px;
	top: 368px;
}
#apDiv19 {
	position:absolute;
	width:130px;
	height:41px;
	z-index:22;
	left: 16px;
	top: 368px;
}
#apDiv20 {
	position:absolute;
	width:99px;
	height:43px;
	z-index:23;
	left: 1113px;
	top: 814px;
}
#apDiv21 {
	position:absolute;
	width:129px;
	height:41px;
	z-index:24;
	left: 17px;
	top: 368px;
}
#apDiv22 {
	position:absolute;
	width:993px;
	height:163px;
	z-index:14;
	left: 263px;
	top: 1239px;
}
#apDiv23 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:14;
}
</style>
</head>


<body>

<pre><p>                           <a href="../index.php" ><img src="../../Resources/eMart logo.png" width="170" height="67" alt="Logo" /></a>                                                                <b><a  style="color:#000; text-decoration:none;" href="../customer_support.php">Customer Support</a>  |  <a style="color:#000; text-decoration:none;" href="../Terms.php">Privacy Policy</a></b>
                                          <?php if ((@$_SESSION['status']== NULL)||($_SESSION['status']== "OUT")){echo"Welcome! <a href='../login.php'>Sign in</a> or <a href='../Register.php'>Register</a>";} else { echo "Welcome ".($_SESSION['fname'])." ".($_SESSION['lname']) ."<pre>                                  <a  class='underline' href='../refresh.php'>Logout</a>    <a class='underline' href='../editaccount.php' >My Account</a> </pre>" ; } ?> </pre>
<div id="DivHR">
  
<hr/></div>


<div id="DivHR">
  <p align="center"><a href="../index.php"><img  src="../../Resources/Home.inactive.png" 
onmouseover="src='../../Resources/Home.active.png'" 
onmouseout="src='../../Resources/Home.inactive.png'" width="159" height="21" /></a>

<a href="../Appliances/Appliances.php"><img  src="../../Resources/Appliances.inactive.png" 
onmouseover="src='../../Resources/Appliances.active.png'" 
onmouseout="src='../../Resources/Appliances.inactive.png'" width="159" height="21" /></a>

<a href="../Computers/Computers.php"><img  src="../Resources/Computers.inactive.png" 
onmouseover="src='../../Resources/Computers.active.png'" 
onmouseout="src='../../Resources/Computers.inactive.png'" width="159" height="21" /></a>

<a href="../Mp3 Players/MP3Players.php"><img  src="../Resources/MP3.active.png" 
onmouseover="src='../../Resources/MP3.inactive.png'" 
onmouseout="src='../../Resources/MP3.active.png'" width="159" height="21" /></a>


<hr/>
</p>

</div>


<div id="Pannel" style="background-image:url(../../Resources/Ap%20Gallery%20Pannel.png); background-repeat:no-repeat">

<div id="cart"><a href="../cart.php"><img src="../../Resources/Mycart.png" width="100" height="25" alt="cart" /></a></div>



</div>
<div id="apDiv1">
  <?php
$con = mysql_connect("localhost","root","") or die ("Could not connect to DB!");
mysql_select_db ("web project",$con) or die ("could not select DB!");

$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'Zhd-346u'");

$row = mysql_fetch_array($result);


echo "<a href='Zune HD 64 GB Video MP3.php'><img src='".$row['ImageSmall']."' alt='Zune'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";


?>
  <div id='apDiv11'>
    <?php
	echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv2">
<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'Clz-82gb'");

$row = mysql_fetch_array($result);


echo "<a href='Creative Labs Zen Mx.php'><img src='".$row['ImageSmall']."' alt='Creative Labs'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>

    <div id="apDiv11">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
</div>
<div id="apDiv3">
<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'nr-43s54'");

$row = mysql_fetch_array($result);


echo "<a href='Sony Walkman 16 GB Video.php'><img src='".$row['ImageSmall']."' alt='Sony'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>
    <div id="apDiv11">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
  </div>

</div>
<div id="apDiv4">
<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'ph-gg11a'");

$row = mysql_fetch_array($result);


echo "<a href='Phillips GoGear.php'><img src='".$row['ImageSmall']."' alt='Phillips'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>
    <div id="apDiv11">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
</div>
<div id="apDiv5">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'Pod-a132b'");

$row = mysql_fetch_array($result);


echo "<a href='Apple iPod touch 32GB.php'><img src='".$row['ImageSmall']."' alt='Apple iPod Touch'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>
    <div id="apDiv11">
    <?php
    
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv6">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'Pod-c160p'");

$row = mysql_fetch_array($result);


echo "<a href='Apple iPod classic 160 GB.php'><img src='".$row['ImageSmall']."' alt='Apple iPod classic'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>

    <div id="apDiv16">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv7">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'Pod-s332S'");

$row = mysql_fetch_array($result);


echo "<a href='Apple iPod shuffle 2 GB.php'><img src='".$row['ImageSmall']."' alt='Apple iPod Shuffle'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>

    <div id="apDiv16">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv8">

<?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'Pod-wp24'");

$row = mysql_fetch_array($result);


echo "<a href='Waterfi Waterproof iPod 2GB Shuffle.php'><img src='".$row['ImageSmall']."' alt='Waterproof iPod'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";

?>

    <div id="apDiv16">
    <?php
    
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>

</div>
<div id="apDiv9">
  
  <?php


$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'sd-s1911'");

$row = mysql_fetch_array($result);


echo "<a href='SanDisk Sansa Clip 2 GB.php'><img src='".$row['ImageSmall']."' alt='SanDisk Sansa'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>

    <div id="apDiv16">
    
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    
    
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
  
</div>
<div id="apDiv10">

<?php



$result = mysql_query("SELECT * FROM Products WHERE ProductCode = 'sg-a5901'");

$row = mysql_fetch_array($result);


echo "<a href='Samsung Galaxy 5.0 Android.php'><img src='".$row['ImageSmall']."' alt='Samsung Galaxy'></a>";
echo "<br/>";

echo "<p style='font-size:20px'>".$row['ProductName']."</p>";
echo "<p style='font-size:15px'>".$row['ProductCode']."</p>";

echo "<p style='font-size:15px'>".$row['ProductDescription']."</p>";
?>

    <div id="apDiv16">
    <?php
    echo "<h3> Price: $".$row['ProductPrice']."</h3>";
    echo "<form action='cart.php' method='post'>
            <input type='submit' value='Add to Cart' name= 'submit' />
            </form>";
    ?>
    </div>
    
</div>
</body>
</html> 